package bf.program;

public class Program implements ProgElement {

	CodeBlock codeBlock;
	
	public Program(CodeBlock prog) {
		codeBlock = prog;
	}

	@Override
	public void execute(State state) {
		codeBlock.execute(state);
	}

	public void compile() {
		codeBlock.compile();
	}

}
